@extends('common.en_base-master')

@section('html-head')
    <link href="{{url('css/admin/pagenum.css')}}" rel="stylesheet" />
@endsection

@section('html-body')
    <div class="neibanner" style="@if(!empty($classifyName))background:url({{$classifyName->img_url}}) @endif no-repeat 50%; background-size: cover;"></div>
    <div class="neipagename">
        <div class="pagename_en">
            @if(!empty($classifyName))
                {{$classifyName->name}}
            @else
                project case
            @endif
        </div>
    </div>
    <div style="width: 100%;">
        <div class="newsline" style="background-color: #ffffff;">
            @if(count($projectCaseList)> 0)
                @foreach($projectCaseList as $projectCase)
            <a href="{{route('Admin.Home.enProjectCaseDetail')}}?id={{$projectCase->id}}" style="border: 1px solid #eeeeee">
                <div class="newstime" >
                    <img src="{{$projectCase->img_url}}" alt="" >
                </div>
                <div class="newtext">
                    <div class="newtitle">
                        {{mb_strimwidth($projectCase->title,0,150,'...','utf-8')}}
                    </div>
                    <div class="ntime">
                        {{date_format($projectCase->updated_at,'Y-m-d')}}
                    </div>
                    <div class="newsmall">
                        <div class="des">{{$projectCase->desc}}</div>
                    </div>
                </div>
                <div class="newsjiantou" style="height:20px;margin-top: 50px;">
                    <img src="{{url('Assets/picture/bg25.png')}}" class="newsjiantou1" />
                    <img src="{{url('Assets/picture/bg26.png')}}" class="newsjiantou2" />
                </div>
            </a>
                @endforeach
            @endif
            <div class="clear"></div>
        </div>
        <div class="pages" style="text-align: center;">
            <?php echo $projectCaseList->render(); ?>
        </div>
    </div>

@endsection

